import request from '@/utils/request'

//直接输出
export function getGenerate(data) {
  return request({
    url: '/ai/generate',
    method: 'get',
    params: data
  })
}

//流式输出
export function getGenerateStream(data) {
    return request({
      url: '/ai/generateStream',
      method: 'get',
      params: data
    })
  }
